package com.qf.swagger2204.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.swagger2204.entity.Candidate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CandidateDao extends BaseMapper<Candidate> {
    List<Candidate> selectAll();


    Boolean selectByName(String name);

    void updateNum(@Param("id") Integer id,@Param("totalnum") Integer totalnum);
}
